package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor//创建有参构造器
@NoArgsConstructor//创建无参构造器
@TableName("`venue`")
public class VenueBean implements java.io.Serializable{
    //场地
    @TableId(type = IdType.AUTO)//主键自增
    private Integer id;
    private String name;
    private String address;
    private Integer capacity;
    private String contact;
    @TableLogic  // 标记为逻辑删除字段
    @TableField(value = "isdel")  // 映射数据库表中的isdel列
    private Integer isdel;
}
